package com.fpd.model.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * @program: springboot-hecheng
 * @description: 批次条件
 * @author: zhukunpeng
 * @create: 2019-12-20 15:12
 **/
@Data
@Api("委案时间列表")
public class CaseAllBatch {

    @ApiModelProperty("委托方")
    private String thirdParty;

    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty("委案开始时间")
    private Date dateStart;

    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty("委案结束时间")
    private Date dateEnd;

    @JsonFormat(pattern = "yyyy-MM-dd",timezone="GMT+8")
    private Date beginTimeCase;

    @ApiModelProperty(value = "当前用户职位", example = "")
    private Integer currentUserPosition;

    @ApiModelProperty(value = "当前用户ID", example = "")
    private String currentUserId;
}
